package cn.shop.front.entity.req;

import cn.shop.utils.constant.Constant;
import cn.shop.utils.enums.OrderStatus;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author : 李一涵
 * @date : Created in 2022/5/22 16:58
 * @description :
 */
@Data
@Accessors(chain = true)
public class GameOrderQueryReq {

    /**
     * 起始时间
     */
    @DateTimeFormat(pattern = Constant.DATE_FORMAT)
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = Constant.DATE_FORMAT)
    private LocalDate endTime;

    /**
     * 分区名
     */
    private long partitionId;

    private long gameId;

    private long uid;

    /**
     * 卖家id
     */
    private String sellerAccount;

    /**
     * 卖家昵称
     */
    private String sellerName;

    /**
     * 商品状态
     */
    private OrderStatus state;

}
